Refactore asset manager and add basic asset files handling