Add the Project custom post type
Refactor code based on coding guildelines