Refactored some code
Precompiled assets