copied main file from original project folder

dirty code, need cleanup