added init and change file structure