Fixed issues with pre-compile and assets pipeline. Added 12factor gem for ease.