Initial codebase

Currently in development, highly unstable and not ready for any usage