allow assets
added autoload and model