Initial commit.
Basic functions and main Class.