Initial commit of current code. Might not be in a working condition.