added profiles
added profiles and static
added template-loader stuff