Understanding And Predicting Properties Of Low-Dimensional Functional Materials From First-Principles